﻿@model IEnumerable<DealKhuyenMaiV2.com.Models.TypeAccount>

@{
   
    Layout = "~/Views/Admin/Shared/_AdminLayout.cshtml";
}
<div class="breadcrumb">
        @Html.ActionLink("Trang Chủ", "Index", "Admin")
    </div>
<div class="box">
 <div class="left"></div>
  <div class="right"></div>
  <div class="heading">
    <h1 style="background-image: url(../../ContentAdmin/DefaultThemes/image/home.png);">Quản lý loại tài khoản</h1>
    <div class="buttons">
           
             <a  href="@Url.Action("Create")" class="button"><span>Thêm</span></a>
         </div>
  </div>
  <div class="content">


<table class = "list">
<thead>
    <tr>
        <td class ="left">
            Loại Khách Hàng
        </td>
        <td></td>
    </tr>
    </thead>
@foreach (var item in Model) {
    <tr>
        <td class = "left">
            @Html.DisplayFor(modelItem => item.NameTypeAccount)
        </td>
        <td class = "right">
            @Html.ActionLink("Edit", "Edit", new { id=item.IDTypeAccount }) |
           
            @Html.ActionLink("Delete", "Delete", new { id=item.IDTypeAccount })
        </td>
    </tr>
}

</table>
</div>
</div>